{% macro field(name, value='', type='text',label='') %}
    <div class="field">
        <span class="label">
            {{ label }}
        </span>
        <span>
            <input type="{{ type }}" name="{{ name }}" value="{{ value | escape }}" />
        </span>
    </div>
{% endmacro %}